package com.jy.event.pay.callback;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * Created by lihu on 2017/10/7.
 * 二维码回调实体
 */
@Data
@XStreamAlias("xml")
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class ScanCallBack {

    @XStreamAlias("version")
    private String version;

    @XStreamAlias("charset")
    private String charset;

    @XStreamAlias("sign_type")
    private String signType;

    @XStreamAlias("status")
    private String status;

    @XStreamAlias("message")
    private String message;

    @XStreamAlias("result_code")
    private String resultCode;

    @XStreamAlias("mch_id")
    private String mchId;

    @XStreamAlias("device_info")
    private String deviceInfo;

    @XStreamAlias("nonce_str")
    private String nonceStr;


    @XStreamAlias("err_code")
    private String errCode;

    @XStreamAlias("err_msg")
    private String errmMsg;

    @XStreamAlias("sign")
    private String sign;

    @XStreamAlias("openid")
    private String openid;


    @XStreamAlias("trade_type")
    private String tradeType;

    @XStreamAlias("pay_result")
    private String payResult;

    @XStreamAlias("pay_info")
    private String payInfo;

    @XStreamAlias("transaction_id")
    private String transactionId;

    @XStreamAlias("out_transaction_id")
    private String outTransactionId;

    @XStreamAlias("out_trade_no")
    private String outTradeNo;

    @XStreamAlias("total_fee")
    private int totalFee;

    @XStreamAlias("coupon_fee")
    private int couponFee;

    @XStreamAlias("fee_type")
    private String feeType;

    @XStreamAlias("attach")
    private String attach;

    @XStreamAlias("bank_type")
    private String bankType;

    @XStreamAlias("time_end")
    private String timeEnd;

}
